.class public Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;
.super Ljava/lang/Object;
.source "ModelTrack.java"


# instance fields
.field private area:D

.field coordinates:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/google/android/gms/maps/model/LatLng;",
            ">;"
        }
    .end annotation
.end field

.field private distance:D

.field private endDate:J

.field private field:Llt/noframe/gpsfarmguide/models/MeasuringModel;

.field private field_id:I

.field private id:I

.field private impelement:D

.field private mapTrack:Lcom/google/android/gms/maps/model/Polyline;

.field private name:Ljava/lang/String;

.field private naviLines:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/google/android/gms/maps/model/LatLng;",
            ">;"
        }
    .end annotation
.end field

.field private path:D

.field private startDate:J

.field private timeWasted:J

.field private tracks:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 42
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 25
    iput v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->id:I

    .line 26
    iput v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field_id:I

    const-wide/16 v0, 0x0

    .line 34
    iput-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->path:D

    return-void
.end method

.method public constructor <init>(IILjava/lang/String;JJLjava/util/List;D)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(II",
            "Ljava/lang/String;",
            "JJ",
            "Ljava/util/List<",
            "Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;",
            ">;D)V"
        }
    .end annotation

    .line 47
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 25
    iput v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->id:I

    .line 26
    iput v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field_id:I

    const-wide/16 v0, 0x0

    .line 34
    iput-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->path:D

    .line 48
    iput p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->id:I

    .line 49
    iput p2, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field_id:I

    .line 50
    iput-object p3, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->name:Ljava/lang/String;

    .line 51
    iput-wide p4, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->startDate:J

    .line 52
    iput-wide p6, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->endDate:J

    .line 53
    iput-object p8, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    .line 54
    iput-wide p9, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->impelement:D

    const-wide/16 p1, 0x0

    .line 55
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->timeWasted:J

    return-void
.end method

.method private calculateIterativePath()D
    .locals 4

    .line 70
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_0

    .line 71
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 72
    iget-object v2, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x2

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;

    invoke-virtual {v2}, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;->getCoordinate()Lcom/google/android/gms/maps/model/LatLng;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 73
    iget-object v2, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v3

    sub-int/2addr v3, v1

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;

    invoke-virtual {v1}, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;->getCoordinate()Lcom/google/android/gms/maps/model/LatLng;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 74
    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/Mathematics;->calculateDistance(Ljava/util/List;)D

    move-result-wide v0

    goto :goto_0

    :cond_0
    const-wide/16 v0, 0x0

    :goto_0
    return-wide v0
.end method


# virtual methods
.method public addPoint(Lcom/google/android/gms/maps/model/LatLng;Z)V
    .locals 4

    .line 95
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    if-nez v0, :cond_0

    const-string v0, "#BB00ff2e"

    .line 96
    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    .line 98
    invoke-static {}, Llt/noframe/gpsfarmguide/Data;->getInstance()Llt/noframe/gpsfarmguide/Data;

    move-result-object v1

    invoke-virtual {v1}, Llt/noframe/gpsfarmguide/Data;->getMap()Lcom/google/android/gms/maps/GoogleMap;

    move-result-object v1

    new-instance v2, Lcom/google/android/gms/maps/model/PolylineOptions;

    invoke-direct {v2}, Lcom/google/android/gms/maps/model/PolylineOptions;-><init>()V

    invoke-virtual {v2, p1}, Lcom/google/android/gms/maps/model/PolylineOptions;->add(Lcom/google/android/gms/maps/model/LatLng;)Lcom/google/android/gms/maps/model/PolylineOptions;

    const/4 v3, 0x2

    .line 99
    invoke-virtual {v2, v3}, Lcom/google/android/gms/maps/model/PolylineOptions;->jointType(I)Lcom/google/android/gms/maps/model/PolylineOptions;

    .line 100
    invoke-virtual {v2, v0}, Lcom/google/android/gms/maps/model/PolylineOptions;->color(I)Lcom/google/android/gms/maps/model/PolylineOptions;

    const/high16 v0, 0x40400000    # 3.0f

    invoke-virtual {v2, v0}, Lcom/google/android/gms/maps/model/PolylineOptions;->width(F)Lcom/google/android/gms/maps/model/PolylineOptions;

    .line 98
    invoke-virtual {v1, v2}, Lcom/google/android/gms/maps/GoogleMap;->addPolyline(Lcom/google/android/gms/maps/model/PolylineOptions;)Lcom/google/android/gms/maps/model/Polyline;

    move-result-object v0

    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    .line 101
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->startDate:J

    goto :goto_0

    .line 103
    :cond_0
    invoke-static {v0, p1}, Llt/noframe/gpsfarmguide/sprayer/track/PolylineUtils;->addPoint(Lcom/google/android/gms/maps/model/Polyline;Lcom/google/android/gms/maps/model/LatLng;)Lcom/google/android/gms/maps/model/Polyline;

    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    .line 105
    :goto_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    new-instance v1, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-direct {v1, p1, p2, v2, v3}, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;-><init>(Lcom/google/android/gms/maps/model/LatLng;ZJ)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 106
    iget-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->path:D

    invoke-direct {p0}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->calculateIterativePath()D

    move-result-wide v0

    add-double/2addr p1, v0

    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->path:D

    return-void
.end method

.method public appendTimeWasted(J)V
    .locals 2

    .line 258
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->timeWasted:J

    add-long/2addr v0, p1

    iput-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->timeWasted:J

    return-void
.end method

.method public calculateCorrdinates()V
    .locals 3

    .line 149
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    .line 150
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;

    .line 151
    iget-object v2, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    invoke-virtual {v1}, Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;->getCoordinate()Lcom/google/android/gms/maps/model/LatLng;

    move-result-object v1

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-void
.end method

.method public calculatePath()D
    .locals 2

    .line 82
    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->calculateCorrdinates()V

    .line 83
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/Mathematics;->calculateDistance(Ljava/util/List;)D

    move-result-wide v0

    return-wide v0
.end method

.method public getArea()D
    .locals 2

    .line 233
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->area:D

    return-wide v0
.end method

.method public getCoordinates()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/google/android/gms/maps/model/LatLng;",
            ">;"
        }
    .end annotation

    .line 276
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    if-nez v0, :cond_0

    .line 277
    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->calculateCorrdinates()V

    .line 279
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    return-object v0
.end method

.method public getDistance()D
    .locals 2

    .line 241
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->distance:D

    return-wide v0
.end method

.method public getEndDate()J
    .locals 2

    .line 205
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->endDate:J

    return-wide v0
.end method

.method public getField()Llt/noframe/gpsfarmguide/models/MeasuringModel;
    .locals 2

    .line 262
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field:Llt/noframe/gpsfarmguide/models/MeasuringModel;

    if-nez v0, :cond_0

    .line 263
    invoke-static {}, Llt/noframe/gpsfarmguide/database/DB;->getDB()Llt/noframe/gpsfarmguide/database/DB;

    move-result-object v0

    iget v1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field_id:I

    invoke-virtual {v0, v1}, Llt/noframe/gpsfarmguide/database/DB;->getArea(I)Llt/noframe/gpsfarmguide/models/MeasuringModel;

    move-result-object v0

    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field:Llt/noframe/gpsfarmguide/models/MeasuringModel;

    .line 265
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field:Llt/noframe/gpsfarmguide/models/MeasuringModel;

    return-object v0
.end method

.method public getField_id()I
    .locals 1

    .line 181
    iget v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field_id:I

    return v0
.end method

.method public getId()I
    .locals 1

    .line 173
    iget v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->id:I

    return v0
.end method

.method public getImpelement()D
    .locals 2

    .line 213
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->impelement:D

    return-wide v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .line 189
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->name:Ljava/lang/String;

    return-object v0
.end method

.method public getNaviLines()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/google/android/gms/maps/model/LatLng;",
            ">;"
        }
    .end annotation

    .line 228
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->naviLines:Ljava/util/List;

    return-object v0
.end method

.method public getPath()D
    .locals 2

    .line 90
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->path:D

    return-wide v0
.end method

.method public getStartDate()J
    .locals 2

    .line 197
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->startDate:J

    return-wide v0
.end method

.method public getTimeWasted()J
    .locals 2

    .line 250
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->timeWasted:J

    return-wide v0
.end method

.method public getTracks()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;",
            ">;"
        }
    .end annotation

    .line 59
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    return-object v0
.end method

.method public removePath()V
    .locals 1

    .line 125
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    if-eqz v0, :cond_0

    .line 126
    invoke-virtual {v0}, Lcom/google/android/gms/maps/model/Polyline;->remove()V

    :cond_0
    const/4 v0, 0x0

    .line 127
    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    return-void
.end method

.method public setArea(D)V
    .locals 0

    .line 237
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->area:D

    return-void
.end method

.method public setDistance(D)V
    .locals 0

    .line 245
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->distance:D

    return-void
.end method

.method public setEndDate(J)V
    .locals 0

    .line 209
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->endDate:J

    return-void
.end method

.method public setField_id(I)V
    .locals 0

    .line 185
    iput p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->field_id:I

    return-void
.end method

.method public setId(I)V
    .locals 0

    .line 177
    iput p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->id:I

    return-void
.end method

.method public setImpelement(D)V
    .locals 0

    .line 217
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->impelement:D

    return-void
.end method

.method public setName(Ljava/lang/String;)V
    .locals 0

    .line 193
    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->name:Ljava/lang/String;

    return-void
.end method

.method public setNaviLines(Lcom/google/android/gms/maps/model/LatLng;Lcom/google/android/gms/maps/model/LatLng;)V
    .locals 1

    .line 222
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->naviLines:Ljava/util/List;

    .line 223
    iget-object v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->naviLines:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 224
    iget-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->naviLines:Ljava/util/List;

    invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public setStartDate(J)V
    .locals 0

    .line 201
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->startDate:J

    return-void
.end method

.method public setTimeWasted(J)V
    .locals 0

    .line 254
    iput-wide p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->timeWasted:J

    return-void
.end method

.method public setTracks(Ljava/util/List;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Llt/noframe/gpsfarmguide/sprayer/track/ObjTrackPoint;",
            ">;)V"
        }
    .end annotation

    .line 63
    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->tracks:Ljava/util/List;

    return-void
.end method

.method public showTrack(Lcom/google/android/gms/maps/GoogleMap;)V
    .locals 2

    .line 136
    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->removePath()V

    .line 137
    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->calculatePath()D

    move-result-wide v0

    iput-wide v0, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->path:D

    .line 138
    new-instance v0, Lcom/google/android/gms/maps/model/PolylineOptions;

    invoke-direct {v0}, Lcom/google/android/gms/maps/model/PolylineOptions;-><init>()V

    iget-object v1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/google/android/gms/maps/model/PolylineOptions;->addAll(Ljava/lang/Iterable;)Lcom/google/android/gms/maps/model/PolylineOptions;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Lcom/google/android/gms/maps/model/PolylineOptions;->color(I)Lcom/google/android/gms/maps/model/PolylineOptions;

    const/high16 v1, 0x40400000    # 3.0f

    invoke-virtual {v0, v1}, Lcom/google/android/gms/maps/model/PolylineOptions;->width(F)Lcom/google/android/gms/maps/model/PolylineOptions;

    invoke-virtual {p1, v0}, Lcom/google/android/gms/maps/GoogleMap;->addPolyline(Lcom/google/android/gms/maps/model/PolylineOptions;)Lcom/google/android/gms/maps/model/Polyline;

    move-result-object p1

    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    return-void
.end method

.method public showTrackSpec(Lcom/google/android/gms/maps/GoogleMap;)V
    .locals 2

    .line 144
    new-instance v0, Lcom/google/android/gms/maps/model/PolylineOptions;

    invoke-direct {v0}, Lcom/google/android/gms/maps/model/PolylineOptions;-><init>()V

    iget-object v1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->coordinates:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/google/android/gms/maps/model/PolylineOptions;->addAll(Ljava/lang/Iterable;)Lcom/google/android/gms/maps/model/PolylineOptions;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Lcom/google/android/gms/maps/model/PolylineOptions;->color(I)Lcom/google/android/gms/maps/model/PolylineOptions;

    const/high16 v1, 0x40000000    # 2.0f

    invoke-virtual {v0, v1}, Lcom/google/android/gms/maps/model/PolylineOptions;->width(F)Lcom/google/android/gms/maps/model/PolylineOptions;

    invoke-virtual {p1, v0}, Lcom/google/android/gms/maps/GoogleMap;->addPolyline(Lcom/google/android/gms/maps/model/PolylineOptions;)Lcom/google/android/gms/maps/model/Polyline;

    move-result-object p1

    iput-object p1, p0, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->mapTrack:Lcom/google/android/gms/maps/model/Polyline;

    return-void
.end method
